<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<title>FBS - Fallbearbeitung der Ferdinand Braun Schule</title>
	<link rel="shortcut icon" href="/favicon.ico" />
	<?php include_javascripts() ?>
	<?php include_stylesheets() ?>
	<!-- add your meta tags here -->

</head>
<body>
<div class="page_margins">
	<!-- start: skip link navigation -->
	<a class="skip" title="skip link" href="#navigation">Skip to the navigation</a><span class="hideme">.</span>
	<a class="skip" title="skip link" href="#content">Skip to the content</a><span class="hideme">.</span>
	<!-- end: skip link navigation -->
	<div id="header" style="text-align:center;">
		<a href="<?php echo url_for('ticket/index') ?>">
			<img src="/images/Head.png" alt="FBS - Ticket Board" />
		</a>
	</div>
	<div id="main">
		<div id="col1">
			<div id="col1_content" class="clearfix">
				<?php if ($sf_user->isAuthenticated()): ?>
				<div class="box search">
					<div class="box-headline"><h3>Suche</h3></div>
					<div class="box-content">
						<form action="<?php echo url_for('ticket_search') ?>" method="get">
							<label for="search_keywords">Ticket suchen:</label>
							<input type="text" name="query" value="<?php echo $sf_request->getParameter('query') ?>" id="search_keywords" />
							<input type="submit" value="search" />

							<div class="searchinfo">
								Suche Tickets nach (Beschreibung, Titel)
							</div>
						</form>
					</div>
				</div>
				<div class="box vlist">
					<div class="box-headline"><h3>Menu</h3></div>
					<div class="box-content">
						<ul>
							<li><a href="<?php echo url_for('ticket/new') ?>">Neues Ticket anlegen</a></li>
							<li><?php echo link_to('Logout', 'sf_guard_signout') ?></li>
							<?php if ($sf_user->isSuperAdmin()) : ?><li><?php echo link_to('Users', 'sf_guard_user') ?></li><?php endif; ?>
						</ul>
					</div>
				</div>
				<?php endif; ?>
				<!-- add your content here -->
			</div>

		</div>
		<div id="col3">
			<div id="col3_content" class="clearfix">
				<?php if ($sf_user->hasFlash('notice')): ?>
				<div class="flash_notice">
					<?php echo $sf_user->getFlash('notice') ?>
				</div>
				<?php endif ?>

				<?php if ($sf_user->hasFlash('error')): ?>
				<div class="flash_error">
					<?php echo $sf_user->getFlash('error') ?>
				</div>
				<?php endif ?>

				<div class="floatbox">
					<?php echo $sf_content ?>
				</div>
				<!-- add your content here -->
			</div>
			<!-- IE Column Clearing -->
			<div id="ie_clearing"> &#160; </div>
		</div>
	</div>
	<div id="footer">
		<span class="symfony">
			powered by <a href="http://www.symfony-project.org/">
			<img src="/images/symfony.gif" alt="symfony framework" />
		</a>
		</span>
	</div>
</div>
</body>
</html>